<?php

namespace app\admin\model;
use app\common\model\MemberMatrix as MemberMatrixModel;

class MemberMatrix extends MemberMatrixModel
{
    /**
     * 用户参与矩阵表
     * @param array $where  查询条件
     * @param int $page 页码
     * @param int $limit    每页数量
     * @param string $order 排序
     * @return array
     * @throws \think\db\exception\DbException
     */
    public static function getList($where = [],$page=1,$limit = 20,$order = 'id desc'){
        return self::where($where)->order($order)->paginate(['list_rows'=>$limit,'page'=>$page])->toArray();
    }
}